<script setup lang="ts">
import { ref } from 'vue';
import BaseFrame from '../components/BaseFrame.vue'

const block_margin_left = ref('256')
const block_width = ref('1200')

interface BlockFormData {
  margin_left: string,
  width: string
}
const getBlockForm = (data: BlockFormData) => {
  block_margin_left.value = data.margin_left
  block_width.value = data.width
  console.log(data)
}

const page_title = '用户反馈信息'
</script>

<template>
  <BaseFrame :page_title="page_title" @get-block-form_="getBlockForm"/>
  <div class="block__" :style="{ marginLeft: block_margin_left + 'px', width: block_width, transition: '0.34s'}"></div>
</template>

<style lang="scss" scoped></style>